﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A41 RID: 2625
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LGKAGODJBOL : IMessage<LGKAGODJBOL>, IMessage, IEquatable<LGKAGODJBOL>, IDeepCloneable<LGKAGODJBOL>, IBufferMessage
	{
		// Token: 0x17002122 RID: 8482
		// (get) Token: 0x0600758D RID: 30093 RVA: 0x00139A44 File Offset: 0x00137C44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LGKAGODJBOL> Parser
		{
			get
			{
				return LGKAGODJBOL._parser;
			}
		}

		// Token: 0x17002123 RID: 8483
		// (get) Token: 0x0600758E RID: 30094 RVA: 0x00139A4B File Offset: 0x00137C4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LGKAGODJBOLReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002124 RID: 8484
		// (get) Token: 0x0600758F RID: 30095 RVA: 0x00139A5D File Offset: 0x00137C5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LGKAGODJBOL.Descriptor;
			}
		}

		// Token: 0x06007590 RID: 30096 RVA: 0x00139A64 File Offset: 0x00137C64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LGKAGODJBOL()
		{
		}

		// Token: 0x06007591 RID: 30097 RVA: 0x00139A6C File Offset: 0x00137C6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LGKAGODJBOL(LGKAGODJBOL other) : this()
		{
			this.eCOBGIIEGHI_ = other.eCOBGIIEGHI_;
			this.isWin_ = other.isWin_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007592 RID: 30098 RVA: 0x00139A9D File Offset: 0x00137C9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LGKAGODJBOL Clone()
		{
			return new LGKAGODJBOL(this);
		}

		// Token: 0x17002125 RID: 8485
		// (get) Token: 0x06007593 RID: 30099 RVA: 0x00139AA5 File Offset: 0x00137CA5
		// (set) Token: 0x06007594 RID: 30100 RVA: 0x00139AAD File Offset: 0x00137CAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ECOBGIIEGHI
		{
			get
			{
				return this.eCOBGIIEGHI_;
			}
			set
			{
				this.eCOBGIIEGHI_ = value;
			}
		}

		// Token: 0x17002126 RID: 8486
		// (get) Token: 0x06007595 RID: 30101 RVA: 0x00139AB6 File Offset: 0x00137CB6
		// (set) Token: 0x06007596 RID: 30102 RVA: 0x00139ABE File Offset: 0x00137CBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsWin
		{
			get
			{
				return this.isWin_;
			}
			set
			{
				this.isWin_ = value;
			}
		}

		// Token: 0x06007597 RID: 30103 RVA: 0x00139AC7 File Offset: 0x00137CC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LGKAGODJBOL);
		}

		// Token: 0x06007598 RID: 30104 RVA: 0x00139AD5 File Offset: 0x00137CD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LGKAGODJBOL other)
		{
			return other != null && (other == this || (this.ECOBGIIEGHI == other.ECOBGIIEGHI && this.IsWin == other.IsWin && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007599 RID: 30105 RVA: 0x00139B14 File Offset: 0x00137D14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ECOBGIIEGHI != 0U)
			{
				num ^= this.ECOBGIIEGHI.GetHashCode();
			}
			if (this.IsWin)
			{
				num ^= this.IsWin.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600759A RID: 30106 RVA: 0x00139B6C File Offset: 0x00137D6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600759B RID: 30107 RVA: 0x00139B74 File Offset: 0x00137D74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600759C RID: 30108 RVA: 0x00139B80 File Offset: 0x00137D80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IsWin)
			{
				output.WriteRawTag(16);
				output.WriteBool(this.IsWin);
			}
			if (this.ECOBGIIEGHI != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.ECOBGIIEGHI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600759D RID: 30109 RVA: 0x00139BDC File Offset: 0x00137DDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ECOBGIIEGHI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ECOBGIIEGHI);
			}
			if (this.IsWin)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600759E RID: 30110 RVA: 0x00139C28 File Offset: 0x00137E28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LGKAGODJBOL other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ECOBGIIEGHI != 0U)
			{
				this.ECOBGIIEGHI = other.ECOBGIIEGHI;
			}
			if (other.IsWin)
			{
				this.IsWin = other.IsWin;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600759F RID: 30111 RVA: 0x00139C78 File Offset: 0x00137E78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060075A0 RID: 30112 RVA: 0x00139C84 File Offset: 0x00137E84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ECOBGIIEGHI = input.ReadUInt32();
					}
				}
				else
				{
					this.IsWin = input.ReadBool();
				}
			}
		}

		// Token: 0x04002CCD RID: 11469
		private static readonly MessageParser<LGKAGODJBOL> _parser = new MessageParser<LGKAGODJBOL>(() => new LGKAGODJBOL());

		// Token: 0x04002CCE RID: 11470
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002CCF RID: 11471
		public const int ECOBGIIEGHIFieldNumber = 11;

		// Token: 0x04002CD0 RID: 11472
		private uint eCOBGIIEGHI_;

		// Token: 0x04002CD1 RID: 11473
		public const int IsWinFieldNumber = 2;

		// Token: 0x04002CD2 RID: 11474
		private bool isWin_;
	}
}
